//package net.xmmpp.uc.im.bootstrap.web.service;
//
//import net.xmmpp.uc.im.common.model.User;
//import org.springframework.cache.annotation.CacheConfig;
//import org.springframework.cache.annotation.Cacheable;
//
//@CacheConfig(cacheNames = "userCache")
//public interface UserService {
//
//     Long insert(User user);
//
//     Integer updateByUsername(User user);
//
//     @Cacheable(cacheNames = {"ucUserCache"}, key = "#p0")
//     User selectByUsername(String username);
//
//     Integer deregisterByUsername(String username);
//
//}
